Cross page - Keep PURL with just the first and last name

Keeping PURL throughout cross pages

Use the following .htaccess code to keep the the URL with just the PURL across all pages.  

The resulting PURL format will be

  • yoursite.com/Mike.Jones/1
  • yoursite.com/Mike.Jones/2
  • yoursite.com/Mike.Jones/3 

Where /1, /2, and /3 are the pages to display. 

#PURL CODE
RewriteEngine on 
RewriteCond %{SCRIPT_FILENAME} !([A-Za-z0-9_]+)\.(html?|php|asp|css|jpg|gif|shtml|htm|xhtml|txt|ico|xml)/?$ [NC] 
RewriteCond %{REQUEST_FILENAME} !-d
RewriteCond %{REQUEST_FILENAME} !-f 
RewriteRule ^([A-Za-z0-9]+)\.([A-Za-z0-9]+)/?$ http://www.yoursite.com/$1.$2/1 [R,L]
RewriteRule ^([A-Za-z0-9]+)\.([A-Za-z0-9]+)/([A-Za-z0-9]+)/?$ purlpage_<yourCampaigNname>/index.php?name=$1$2&ID=<yourClientID>&page=$3

#END PURL CODE